<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <!-- templatemo 418 form pack -->
    <!--
    Form Pack
    http://www.templatemo.com/preview/templatemo_418_form_pack
    -->
    <title>DG HOME</title>
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=UTF-8"/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
    <!-- <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"> -->
    <link rel="stylesheet" href="./assets/css/bootstrap.min.css" th:href="@{/asserts/css/bootstrap.min.css}">
    <link href="css/bootstrap-theme.min.css" rel="stylesheet" th:href="@{/asserts/css/bootstrap-theme.min.css}">
    <link href="assets/css/templatemo_style.css" rel="stylesheet" th:href="@{/asserts/css/templatemo_style.css}">
    <link href="assets/css/nav1.1.css" rel="stylesheet" th:href="@{/asserts/css/nav1.1.css}">
    <link href="assets/css/font-awesome.min.css" rel="stylesheet" th:href="@{/asserts/css/font-awesome.min.css}">
    <link href="assets/css/bootstrap-theme.min.css" rel="stylesheet" th:href="@{/asserts/css/bootstrap-theme.min.css}">
    <link rel="stylesheet" href="assets-homepage/footer.css" th:href="@{/asserts/css/footer.css}">
    <style>
        .custom-file i,
        .custom-file .custom-file-input {
            float: left;
            margin-left: 100px;
            line-height: 30px;
        }

        .input-group {
            margin-top: 10px;
        }

        .top {
            height: 30px;
            width: 300px;
            background-color: skyblue;
            font-size: 14px;
            line-height: 30px;
            cursor: pointer;
            display: inline-block;
            text-align: center;
            color: #fff;
            border-radius: 3px;
            margin: 0 60px;
        }

        .custom-file input {
            display: none;
            visibility: hidden;
        }

        .custom-file {
            text-align: center;
        }

        .boxed-btn3 {
            width: 500px;
            text-align: center;
            line-height: 100%;
            padding: 0.3em;
            text-decoration: none;
            margin: 5px auto;
            vertical-align: text-bottom;
            outline: none;
            font-size-adjust: none;
            font-stretch: normal;
            border-radius: 5px;
            background-color: skyblue;
        }

        .submit_btn {
            text-align: center;
        }
    </style>
</head>

<body class="templatemo-bg-gray">
<section class="header-area">
    <div class="navbar-area">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <nav class="navbar navbar-expand-lg">
                        <a class="navbar-brand" href="#">
                            <img th:src="@{/asserts/img/logo-bar.svg}" alt="Logo" width="80px">
                        </a>
                        <button class="navbar-toggler" type="button" data-toggle="collapse"
                                data-target="#navbarEight" aria-controls="navbarEight" aria-expanded="false"
                                aria-label="Toggle navigation">
                            <span class="toggler-icon"></span>
                            <span class="toggler-icon"></span>
                            <span class="toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse sub-menu-bar" id="navbarEight">
                            <ul class="navbar-nav ml-auto">
                                <li class="nav-item">
                                    <a onclick="myLogOutFunction()">退出</a>
                                    <script>
                                        function myLogOutFunction() {
                                            var r = confirm("您确定要退出么!");

                                            if (r == true) {
                                                location.href = "http://localhost:8080/home/logout";
                                            } else {
                                            }
                                        }
                                    </script>
                                </li>
                                <li class="nav-item active">
                                    <a href="/home">我的</a>
                                </li>
                                <li th:if="${loginUser.isHR || loginUser.isAdmin}" class="nav-item">
                                    <a href="/recruit/addJob">发布招聘信息</a>
                                </li>
                                <li th:if="${loginUser.isHR || loginUser.isAdmin}" class="nav-item">
                                    <a href="/recruit/checkUsers">甄选</a>
                                </li>
                                <li class="nav-item" th:if="${loginUser.company == null}">
                                    <a href="/jobs">求职</a>
                                </li>
                                <li class="nav-item" th:if="${loginUser.company != null && loginUser.isAdmin}">
                                    <a href="/companyManage">管理公司</a>
                                </li>
                                <li class="nav-item" th:if="${loginUser.company != null && !loginUser.isAdmin}">
                                    <a href="/myCompany">我的公司</a>
                                </li>
                                <li class="nav-item" th:if="${loginUser.company == null}">
                                    <a href="/companyManage/signCompany">注册公司</a>
                                </li>
                            </ul>
                        </div>
                        <div class="navbar-btn d-none mt-15 d-lg-inline-block">
                            <a class="menu-bar" href="#side-menu-right"><i class="lni-menu"></i></a>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </div>
</section>
<br>
<br>
<br>
<div style="margin-top:5%; text-align: center; width: 100%">
    <h1>简历</h1>
</div>
<div style="margin-top:1%" class="container center-block templatemo-form-list-container templatemo-container">
    <div class="col-md-12">
        <table class="table table-striped table-hover">
            <thead>
            <tr>
                <th>序号</th>
                <th>简历名</th>
                <th>查看简历</th>
                <!-- <th>递交简历</th> -->
            </tr>
            </thead>
            <tbody>
            <tr th:each="resume:${resumes}">
                <td>[[${resumeStat.index} + 1]]</td>
                <td>简历[[${resumeStat.index} + 1]]</td>
                <td><a th:href="@{/testPreview/}+${resume.id}" class="btn btn-info" target="_blank">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                         class="bi bi-search" viewBox="0 0 16 16">
                        <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
                    </svg>
                </a></td>
                <!-- <td><a href="#" class="btn btn-info"><i class="fa fa-arrow-circle-right"></i></a></td> -->
            </tr>
            </tbody>
        </table>
    </div>


</div>
</div>
</body>

</html>